package org.wheres2.location.customview;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;

public class AnimView extends View {
	
	private Paint paint;
	private int animViewW;
	private int animViewH;

	public AnimView(Context context, AttributeSet attrs) {
		super(context, attrs);
		
		paint= new Paint();
		
	}
	
	
	@Override
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		
		animViewW=this.getWidth();
		animViewH=this.getHeight();
		paint.setColor(Color.GREEN);
		paint.setStyle(Paint.Style.STROKE);
		paint.setAntiAlias(true);
		canvas.drawCircle(animViewW/2, animViewH/2, animViewW/3, paint);
		
	}

}
